home *** CD-ROM | disk | FTP | other *** search
Java Source | 2000-09-28 | 796 b | 38 lines | [TEXT/CWIE] |
- public class PlayPauseButton extends RolloverButton
- {
- //Declare and define constants
- //Insert "PlayPauseButton Constants"
-
- public void initImages()
- {
- //Initialize images and set the state for the PlayPauseButton
- //Insert "PlayPauseButton initImages"
- }
-
- /**
- * Sets the state of the PlayPauseButton.
- * @param the state to use.
- * @see #PLAY_STATE
- * @see #PAUSE_STATE
- */
- public void setState(int state)
- {
- //Handle switching states
- //Insert "PlayPauseButton setState"
- }
-
- /**
- * Gets the state of the PlayPauseButton.
- * @return the state currently in use.
- * @see #PLAY_STATE
- * @see #PAUSE_STATE
- */
- public int getState()
- {
- //Return the current state
- //Insert "PlayPauseButton getState"
- }
-
- //Declare data members
- //Insert "PlayPauseButton data members"
- }